]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agomain: Move pref overrides to JS
Florian Müllner [Thu, 6 Jun 2013 14:39:23 +0000 (16:39 +0200)]
main: Move pref overrides to JS

We will allow to use mode-specific overrides; in preparation for that,
move the code so that we only override preferences after initializing
the session mode.

https://bugzilla.gnome.org/show_bug.cgi?id=701717

13 years agonetwork: Remove _createAPItem
Jasper St. Pierre [Fri, 26 Apr 2013 00:39:19 +0000 (20:39 -0400)]
network: Remove _createAPItem

The code flows better if this is inlined like this.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Remove some more dead code
Jasper St. Pierre [Fri, 26 Apr 2013 16:12:29 +0000 (12:12 -0400)]
network: Remove some more dead code

Submenus gone means we can remove the title param and things
that use it.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agonetwork: Don't create submenus for multiple-connection items
Jasper St. Pierre [Thu, 25 Apr 2013 20:32:01 +0000 (16:32 -0400)]
network: Don't create submenus for multiple-connection items

As multiple-connections for a Wi-Fi AP won't fit in the new design,
remove submenus right now. Simply make a simple item that connects
to the first known connection for the AP, which should be the common
case.

https://bugzilla.gnome.org/show_bug.cgi?id=698918

13 years agopopupMenu: Fix PopupSliderMenuItem
Jasper St. Pierre [Thu, 6 Jun 2013 19:49:20 +0000 (15:49 -0400)]
popupMenu: Fix PopupSliderMenuItem

It seems a bad rebase took this away.

13 years agonetwork: Reformat connection code
Jasper St. Pierre [Wed, 22 May 2013 21:35:29 +0000 (17:35 -0400)]
network: Reformat connection code

This makes the code flow the same between removeConnection and checkConnection.

https://bugzilla.gnome.org/show_bug.cgi?id=701755

13 years agonetwork: Remove a dead signal
Jasper St. Pierre [Wed, 22 May 2013 21:30:41 +0000 (17:30 -0400)]
network: Remove a dead signal

This signal is unused.

https://bugzilla.gnome.org/show_bug.cgi?id=701755

13 years agovolume: Remove some unused variables
Jasper St. Pierre [Tue, 23 Apr 2013 23:25:49 +0000 (19:25 -0400)]
volume: Remove some unused variables

https://bugzilla.gnome.org/show_bug.cgi?id=701755

13 years agoslider: Separate PopupSliderMenuItem into its own widget
Jasper St. Pierre [Tue, 12 Jul 2011 20:12:28 +0000 (16:12 -0400)]
slider: Separate PopupSliderMenuItem into its own widget

https://bugzilla.gnome.org/show_bug.cgi?id=701755

13 years agopopupMenu: Fix bubbling in the slider widget
Jasper St. Pierre [Thu, 14 Feb 2013 22:33:48 +0000 (17:33 -0500)]
popupMenu: Fix bubbling in the slider widget

https://bugzilla.gnome.org/show_bug.cgi?id=701755

13 years agouserMenu: Use addSettingsAction
Jasper St. Pierre [Thu, 25 Apr 2013 19:45:53 +0000 (15:45 -0400)]
userMenu: Use addSettingsAction

https://bugzilla.gnome.org/show_bug.cgi?id=701755

13 years agouserMenu: Move UserAvatarWidget into UserWidget
Jasper St. Pierre [Wed, 24 Apr 2013 02:31:08 +0000 (22:31 -0400)]
userMenu: Move UserAvatarWidget into UserWidget

https://bugzilla.gnome.org/show_bug.cgi?id=701755

13 years agoupdate Simplified Chinese (zh_CN) translation
eternalhui [Thu, 6 Jun 2013 03:44:18 +0000 (11:44 +0800)]
update Simplified Chinese (zh_CN) translation

13 years agodnd: Use pushModal() to grab the keyboard
Florian Müllner [Thu, 23 May 2013 13:49:42 +0000 (15:49 +0200)]
dnd: Use pushModal() to grab the keyboard

Currently we "only" grab the keyboard when starting a drag operation,
which does not impede keybindings to be processed. This is at best
not harmful (like workspace switching), but may have unintended effects
otherwise - for instance, the hot corner is disabled, so having the
corresponding keyboard shortcut still active is fairly odd (not to
mention that it leaves the system in a confused state).
Fix this by switching to pushModal()/popModal(), which will push a
dedicated keybinding mode for us.

https://bugzilla.gnome.org/show_bug.cgi?id=700877

13 years agoscreenShield: Clear clipboard on lock
Florian Müllner [Thu, 16 May 2013 15:51:31 +0000 (17:51 +0200)]
screenShield: Clear clipboard on lock

Currently the clipboard's contents may leak to unauthorized parties by
pasting into the unlock dialog's password entry and unmasking the entry.
Prevent this from happening by clearing the clipboard on lock.

https://bugzilla.gnome.org/show_bug.cgi?id=698922

13 years agoosdWindow: Make sure the OSD is always our topmost chrome element
Rui Matos [Thu, 30 May 2013 12:29:31 +0000 (14:29 +0200)]
osdWindow: Make sure the OSD is always our topmost chrome element

In particular this fixes the OSD showing up behind a modal dialog's
lightbox.

https://bugzilla.gnome.org/show_bug.cgi?id=701269

13 years agodash: Grow the empty dash during drag operations
Florian Müllner [Fri, 31 May 2013 15:59:27 +0000 (17:59 +0200)]
dash: Grow the empty dash during drag operations

When the dash does not contain any applications (either favorites
or running), it is currently impossable to add a favorite via DND.
Grow the dash slightly in that case to provide a drop target.

https://bugzilla.gnome.org/show_bug.cgi?id=684618

13 years agodash: Minor cleanup
Florian Müllner [Wed, 5 Jun 2013 12:51:41 +0000 (14:51 +0200)]
dash: Minor cleanup

https://bugzilla.gnome.org/show_bug.cgi?id=684618

13 years agodash: Use a single code path for clearing the drag placeholder
Florian Müllner [Wed, 5 Jun 2013 12:17:20 +0000 (14:17 +0200)]
dash: Use a single code path for clearing the drag placeholder

We currently only keep track of old placeholders when moving past
the dragged app's current favorite position, as this is the only
case where we need to worry about jitter. Still, moving it into
_clearDragPlaceholder() allows us to consolidate code paths, which
is a good thing ...

https://bugzilla.gnome.org/show_bug.cgi?id=684618

13 years agodash: Make sure _clearDragPlaceholder() resets _dragPlaceholderPos
Florian Müllner [Fri, 31 May 2013 15:47:48 +0000 (17:47 +0200)]
dash: Make sure _clearDragPlaceholder() resets _dragPlaceholderPos

The function currently only resets the placeholder position if
there is a placeholder; this is not necessarily true, as the
placeholder may be reset outside _clearDragPlaceholder().
If this happens, the placeholder will temporarily stop working
for the "old" position (and permanently if it's the only position).
Just reset the position unconditionally.

https://bugzilla.gnome.org/show_bug.cgi?id=684618

13 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Cheng-Chia Tseng [Tue, 4 Jun 2013 13:49:58 +0000 (21:49 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

13 years agoappDisplay: Give more horizontal space to control buttons
Carlos Soriano [Fri, 24 May 2013 10:03:00 +0000 (12:03 +0200)]
appDisplay: Give more horizontal space to control buttons

Before, the text of those buttons were truncated when the text exceeded
the fixed width we had in the CSS.
Now, we give more horizontal space to the control buttons to match
the maximum text length of all buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=696307

13 years agoUpdated German translation
Benjamin Steinwender [Sun, 2 Jun 2013 07:48:44 +0000 (09:48 +0200)]
Updated German translation

13 years agodash: Simplify some code
Florian Müllner [Fri, 31 May 2013 18:00:17 +0000 (20:00 +0200)]
dash: Simplify some code

https://bugzilla.gnome.org/show_bug.cgi?id=701386

13 years agoRestore gvc revision
Florian Müllner [Fri, 31 May 2013 18:56:10 +0000 (20:56 +0200)]
Restore gvc revision

Commit 9d54e46ce74698 accidentally reverted to a previous revision.

13 years agobuild: Bump gcr requirement
Florian Müllner [Wed, 29 May 2013 22:56:01 +0000 (00:56 +0200)]
build: Bump gcr requirement

https://bugzilla.gnome.org/show_bug.cgi?id=700972

13 years agoUpdated Galician translations
Fran Diéguez [Thu, 30 May 2013 23:04:06 +0000 (01:04 +0200)]
Updated Galician translations

13 years agoTajik updated
Victor Ibragimov [Thu, 30 May 2013 12:29:52 +0000 (17:29 +0500)]
Tajik updated

13 years agoshell-gtk-embed: Lower tray icon windows to the bottom of the stack
Adel Gadllah [Wed, 29 May 2013 22:53:37 +0000 (00:53 +0200)]
shell-gtk-embed: Lower tray icon windows to the bottom of the stack

Otherwise they break the "top level window" detection used by the
unredirect code in mutter, causes game windows not to be unredirected
when tray icons are present.

https://bugzilla.gnome.org/show_bug.cgi?id=701224

13 years agoxdnd: Lower window activation timeout
Adel Gadllah [Wed, 29 May 2013 16:54:45 +0000 (18:54 +0200)]
xdnd: Lower window activation timeout

The current one is perceived as too high by users, so try a shorter timeout.

https://bugzilla.gnome.org/show_bug.cgi?id=700150

13 years agooverviewControls: Don't push window thumbs over when workspaces are invisible
Jasper St. Pierre [Wed, 29 May 2013 01:10:58 +0000 (21:10 -0400)]
overviewControls: Don't push window thumbs over when workspaces are invisible

Make the sliding control invisible when the thumbnails box is as well.

https://bugzilla.gnome.org/show_bug.cgi?id=701167

13 years agosearchDisplay: Remove the setResults/getResultsForDisplay dance
Jasper St. Pierre [Fri, 8 Feb 2013 23:42:03 +0000 (18:42 -0500)]
searchDisplay: Remove the setResults/getResultsForDisplay dance

Now that we control our own destiny, I noticed that getResultsToDisplay
is the only user of this._notDisplayedResult, and it's called immediately
after setResults, which is the only thing that sets it. Just remove the
stateness entirely.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Remove getVisibleResultCount
Jasper St. Pierre [Fri, 8 Feb 2013 23:34:24 +0000 (18:34 -0500)]
searchDisplay: Remove getVisibleResultCount

This is only used in one place, so we can quickly substitute
where it's needed.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Remove the "provider meta"
Jasper St. Pierre [Fri, 8 Feb 2013 23:23:53 +0000 (18:23 -0500)]
searchDisplay: Remove the "provider meta"

As everything is tracked on the SearchResults or subclasses of now,
just use that, which we call the "provider display".

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Move the provider actors to the results display
Jasper St. Pierre [Fri, 8 Feb 2013 23:07:11 +0000 (18:07 -0500)]
searchDisplay: Move the provider actors to the results display

Since the provider icon only appears in the list results, it makes
sense for that to be stored with the results class, rather than outside,
triggered by which sort of display it is.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Remove the providerIcon from the providerMeta
Jasper St. Pierre [Fri, 8 Feb 2013 23:01:41 +0000 (18:01 -0500)]
searchDisplay: Remove the providerIcon from the providerMeta

Since the resultsDisplay is tracking it, it's not needed.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Remove focus management code
Jasper St. Pierre [Thu, 14 Feb 2013 19:37:50 +0000 (14:37 -0500)]
searchDisplay: Remove focus management code

It turns out that this focus code broke sometime in the 3.6 cycle --
when updating results, the focus is always on the text entry, so this
never gets called. We'll eventually replace it with something that
keeps track of the focused result meta, but for now, remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Make renderResults private
Jasper St. Pierre [Thu, 14 Feb 2013 19:35:01 +0000 (14:35 -0500)]
searchDisplay: Make renderResults private

There's no need to call this from outside now.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Make the results display in charge of updating the actor
Jasper St. Pierre [Fri, 8 Feb 2013 22:45:53 +0000 (17:45 -0500)]
searchDisplay: Make the results display in charge of updating the actor

While this is a very simple translation right now, soon enough it will
be so that it will have a less crazy "public" API and can do things like
cache result metas.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Remove clearDisplayForProvider
Jasper St. Pierre [Fri, 8 Feb 2013 22:47:37 +0000 (17:47 -0500)]
searchDisplay: Remove clearDisplayForProvider

Since the two paths that call this want to keep the actor in two different
states, it makes sense to just call the one function that's the same between
both individually.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Add a base class for common parts of search results
Jasper St. Pierre [Fri, 8 Feb 2013 22:05:22 +0000 (17:05 -0500)]
searchDisplay: Add a base class for common parts of search results

Right now, this doesn't give us very much, since IconGrid and StBoxLayout
have different APIs. But since we want to introduce result caching, it
makes to reduce the duplication we already have so we don't need to add
the code to do so in both places.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearchDisplay: Remove pendingClear
Jasper St. Pierre [Fri, 8 Feb 2013 21:05:28 +0000 (16:05 -0500)]
searchDisplay: Remove pendingClear

It turns out that every time we call getResultsForDisplay is
directly after a setResults, so pendingClear is always true.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agosearch: Rename pushResults to setResults
Jasper St. Pierre [Sat, 9 Feb 2013 03:03:28 +0000 (22:03 -0500)]
search: Rename pushResults to setResults

pushResults, and the original async search API, were originally intended
so search results that weren't immediate could be added as they come in.
Since then, we've decided that the design of search results is that they
should finish at once with all results. Thus, the code was modified so
that pushResults always overwrote the current result set. As such, it makes
sense to rename the method so that the name matches the behavior.

https://bugzilla.gnome.org/show_bug.cgi?id=693836

13 years agoUpdated Czech translation
Marek Černocký [Wed, 29 May 2013 10:26:52 +0000 (12:26 +0200)]
Updated Czech translation

13 years agoBump version to 3.9.2
Florian Müllner [Tue, 28 May 2013 17:38:25 +0000 (19:38 +0200)]
Bump version to 3.9.2

Update NEWS.

13 years agomessageTray: Fix lightbox outside the overview
Florian Müllner [Mon, 27 May 2013 19:03:46 +0000 (21:03 +0200)]
messageTray: Fix lightbox outside the overview

Commit d0310bd745968 blindly replaced global.overlay_group with
Main.layout.overviewGroup, but unlike the former, the latter is
hidden while the overview is not active, which makes it unsuitable
for the message tray's light box. In fact, with the removal of
global.overlay_group, there is no longer a container which may
be used both inside and outside the overview, so we can either
recreate the lightbox each time we show/hide the overview, or
use different lightboxes altogether; this opts for the latter.

https://bugzilla.gnome.org/show_bug.cgi?id=701097

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 28 May 2013 07:44:18 +0000 (09:44 +0200)]
Updated Norwegian bokmål translation

13 years agoTajik Updated
Victor Ibragimov [Tue, 28 May 2013 07:16:32 +0000 (12:16 +0500)]
Tajik Updated

13 years agostatus/keyboard: Stop destroying the IBusBus object
Rui Matos [Sun, 28 Apr 2013 23:17:06 +0000 (01:17 +0200)]
status/keyboard: Stop destroying the IBusBus object

This is a singleton object inside libibus which means that if we
destroy it (e.g. because ibus-daemon got restarted) then, other
library users, like the ibus gtk+ IM module that we also use
in-process, will break.

https://bugzilla.gnome.org/show_bug.cgi?id=699189

13 years agomessageTray: Check if the clicked summary item has a right click menu
Rui Matos [Fri, 24 May 2013 18:59:40 +0000 (20:59 +0200)]
messageTray: Check if the clicked summary item has a right click menu

Commit e71129aa6879b62a04d2fc3b43ff25edd6611987 introduced the
possibility of having summary items without a right click menu so we
should check for one before trying to show it.

https://bugzilla.gnome.org/show_bug.cgi?id=700190

13 years agostatus/keyboard: Allow switching input source in the message tray
Rui Matos [Fri, 29 Mar 2013 22:19:02 +0000 (23:19 +0100)]
status/keyboard: Allow switching input source in the message tray

We still can't show a popup switcher in the message tray but we can at
least degrade gracefully and advance to the next input source.

https://bugzilla.gnome.org/show_bug.cgi?id=697009

13 years agostatus/keyboard: Switch input source on special modifiers accelerator
Rui Matos [Fri, 29 Mar 2013 01:35:32 +0000 (02:35 +0100)]
status/keyboard: Switch input source on special modifiers accelerator

This simply mimics the X server's layout switching behavior by
advancing to the next input source and wrapping around.

https://bugzilla.gnome.org/show_bug.cgi?id=697008

13 years agostatus/keyboard: Synchronize input source switching with key events
Rui Matos [Wed, 27 Mar 2013 00:01:33 +0000 (01:01 +0100)]
status/keyboard: Synchronize input source switching with key events

Currently we simply set the gsettings key when activating an input
source. This obviously introduces a time window, between the event that
activates the switch and when the switch is complete, under which key
events are being delivered to applications and interpreted according
to the previous input source.

The patches in bug 696996 introduce a DBus API in g-s-d that allows us
to know when an input source if effectively active. Using that and
freezing keyboard events in the X server until we hear back from g-s-d
we can ensure that events won't be misinterpreted after an input
source switch.

https://bugzilla.gnome.org/show_bug.cgi?id=697007

13 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 27 May 2013 11:54:24 +0000 (13:54 +0200)]
Updated Spanish translation

13 years ago[l10n] Minor fix on Catalan translation
Gil Forcada [Sun, 26 May 2013 06:21:43 +0000 (08:21 +0200)]
[l10n] Minor fix on Catalan translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 25 May 2013 19:39:26 +0000 (21:39 +0200)]
Updated Slovenian translation

13 years agoUpdated slovak translation
Dušan Kazik [Sat, 25 May 2013 19:12:50 +0000 (21:12 +0200)]
Updated slovak translation

13 years agoTajik updated
Victor Ibragimov [Sat, 25 May 2013 08:17:52 +0000 (13:17 +0500)]
Tajik updated

13 years agoglobal: Use the new mutter API for focusing the stage window
Jasper St. Pierre [Thu, 23 May 2013 20:26:50 +0000 (16:26 -0400)]
global: Use the new mutter API for focusing the stage window

This way, we aren't "going behind mutter's back" about what the current
focused window is.

https://bugzilla.gnome.org/show_bug.cgi?id=700735

13 years agoUpdated slovak translation
Dušan Kazik [Fri, 24 May 2013 21:21:21 +0000 (23:21 +0200)]
Updated slovak translation

13 years agomessageTray: Fix a stuck grab related to bubble notifications
Jasper St. Pierre [Wed, 22 May 2013 17:20:20 +0000 (13:20 -0400)]
messageTray: Fix a stuck grab related to bubble notifications

If the user middle clicks on a summary item in the tray, we'll
try to grab null instead of an actor, which is wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=700854

13 years agoTajik Updated
Victor Ibragimov [Fri, 24 May 2013 15:00:58 +0000 (20:00 +0500)]
Tajik Updated

13 years agoBluetooth: Use "Passkey" instead of "PIN"
Gustavo Padovan [Tue, 9 Apr 2013 18:25:56 +0000 (15:25 -0300)]
Bluetooth: Use "Passkey" instead of "PIN"

Passkey is the proper name to be used when we are pairing with a Bluetooth
2.1+ device. PIN are only used for older devices which is not the case
here, the message is only shown when dealing with 2.1+ devices.

https://bugzilla.gnome.org/show_bug.cgi?id=697661

13 years agoDepend on gcr-base instead of gcr pkg-config file
Stef Walter [Fri, 24 May 2013 09:07:10 +0000 (11:07 +0200)]
Depend on gcr-base instead of gcr pkg-config file

gnome-shell does not use the UI bits of the Gcr library

https://bugzilla.gnome.org/show_bug.cgi?id=700944

13 years agomessageTray: Don't destroy a notification from within its destroy handler
Jasper St. Pierre [Thu, 23 May 2013 21:41:19 +0000 (17:41 -0400)]
messageTray: Don't destroy a notification from within its destroy handler

Nothing but bad can come from this.

https://bugzilla.gnome.org/show_bug.cgi?id=700923

13 years agoRe-lock the screen if we're restarted from a previously crashed shell
Colin Walters [Thu, 17 Jan 2013 19:39:54 +0000 (14:39 -0500)]
Re-lock the screen if we're restarted from a previously crashed shell

This way we "fail closed", which is better for security.

See https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/1064584

https://bugzilla.gnome.org/show_bug.cgi?id=691987

13 years agoworkspace: don't use multiple later calls to propagate actualGeometry calls
Giovanni Campagna [Wed, 22 May 2013 17:27:17 +0000 (19:27 +0200)]
workspace: don't use multiple later calls to propagate actualGeometry calls

Meta laters are invoked in reverse order of registration, so
having multiple laters propagating the geometry cause all but the
first one in the frame (which is usually wrong) to be ignored.
Instead, queue at most one later call, and use the last set geometry
in the callback.

https://bugzilla.gnome.org/show_bug.cgi?id=700853

13 years agodocs: Include ShellKeyBindingMode in docs
Florian Müllner [Wed, 22 May 2013 12:34:23 +0000 (14:34 +0200)]
docs: Include ShellKeyBindingMode in docs

https://bugzilla.gnome.org/show_bug.cgi?id=700900

13 years agolayout: Properly order startup initialization
Jasper St. Pierre [Sat, 18 May 2013 23:34:35 +0000 (19:34 -0400)]
layout: Properly order startup initialization

In order to make sure that the struts and regions are initialized,
we need to make sure that we do with the conditions that nothing
is transformed, like the uiGroup, and that everything is visible.

These invariants broke during a fix to hide the UI until the
system background texture could be loaded. Now, reorder things so
that the system background is loaded, and then the UI is properly
loaded, and so on.

https://bugzilla.gnome.org/show_bug.cgi?id=696159

13 years agolayout: Fix indentation
Jasper St. Pierre [Sat, 18 May 2013 23:28:45 +0000 (19:28 -0400)]
layout: Fix indentation

https://bugzilla.gnome.org/show_bug.cgi?id=696159

13 years agopopupMenu: Allow for an optional border for slider handle
Florian Müllner [Tue, 21 May 2013 17:04:03 +0000 (19:04 +0200)]
popupMenu: Allow for an optional border for slider handle

While the default style works well will a solid handle, using both
border and fill color would be desirable in classic mode. Add the
necessary (optional) style properties to allow this.

https://bugzilla.gnome.org/show_bug.cgi?id=697917

13 years agoFinish removing the overlay_group concept
Giovanni Campagna [Wed, 22 May 2013 16:18:36 +0000 (18:18 +0200)]
Finish removing the overlay_group concept

In preparation for removing from mutter too.

https://bugzilla.gnome.org/show_bug.cgi?id=700735

13 years agoscreenshot: Hide cursor while magnifier is active
Florian Müllner [Wed, 22 May 2013 16:26:00 +0000 (18:26 +0200)]
screenshot: Hide cursor while magnifier is active

As with the screen recorder, the magnifier already adds its own
copy of the system cursor, so we should not add it again. Just
as in the screen recorder case, we don't address the case where
the cursor should not be included in the screenshot, but the
magnifier adds it anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=700488

13 years agorecorder: Hide cursor while magnifier is active
Florian Müllner [Wed, 22 May 2013 15:48:56 +0000 (17:48 +0200)]
recorder: Hide cursor while magnifier is active

The magnifier adds its own copy of the system cursor to apply the
expected transformations, so we don't need to add it again in the
recorder; this avoids two different cursors showing up in recordings,
but doesn't address the case where the cursor should not be recorded
at all, but the magnifier adds it anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=700488

13 years agoOverview: use a normal chrome actor to handle events during XDND
Giovanni Campagna [Wed, 22 May 2013 16:05:24 +0000 (18:05 +0200)]
Overview: use a normal chrome actor to handle events during XDND

Instead of using the input mode, when the overview is not modal
it should use a Chrome-tracked actor, that is added to the input
region. Because the overview always takes pointer input when
visible, the actor is added at startup, and it is shown and hidden
as needed.

https://bugzilla.gnome.org/show_bug.cgi?id=700735

13 years agoscreenShield: Pop the modal immediately
Jasper St. Pierre [Wed, 22 May 2013 16:06:11 +0000 (12:06 -0400)]
screenShield: Pop the modal immediately

Allow people to start typing immediately after unlocking their
session, rather than having to wait for a transition.

https://bugzilla.gnome.org/show_bug.cgi?id=700847

13 years agoglobal: Remove support for the NONREACTIVE input mode
Jasper St. Pierre [Wed, 15 May 2013 17:02:10 +0000 (13:02 -0400)]
global: Remove support for the NONREACTIVE input mode

As it's unused, this is a quick cleanup before we can go onto
more important things.

https://bugzilla.gnome.org/show_bug.cgi?id=700735

13 years agolayout: Remove affectsInputRegion
Jasper St. Pierre [Sun, 19 May 2013 00:59:46 +0000 (20:59 -0400)]
layout: Remove affectsInputRegion

This can easy be worked around by adding things to the uiGroup
instead, so there's really no reason to have it here still.

https://bugzilla.gnome.org/show_bug.cgi?id=700735

13 years agolayout: Remove use of skip_paint
Jasper St. Pierre [Sat, 18 May 2013 23:23:46 +0000 (19:23 -0400)]
layout: Remove use of skip_paint

We no longer use this on the uiGroup.

https://bugzilla.gnome.org/show_bug.cgi?id=700735

13 years agoscreencast: Fix return value in case of invalid file template
Florian Müllner [Wed, 22 May 2013 14:42:00 +0000 (16:42 +0200)]
screencast: Fix return value in case of invalid file template

If we are passed an invalid file template, ShellRecorder.record()
will return a %NULL filename; as the Screencast DBus interface
expects a string return value, we cannot return the value unmodified
in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=700842

13 years agoDisable all extensions in reverse order
Tomeu Vizoso [Tue, 21 May 2013 15:32:39 +0000 (17:32 +0200)]
Disable all extensions in reverse order

So we avoid having to disable and enable an extension that is to
be disabled later anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=700784

13 years agoworkspacesView: Adapt to changes in windowManager
Florian Müllner [Sat, 18 May 2013 18:53:49 +0000 (20:53 +0200)]
workspacesView: Adapt to changes in windowManager

The actionMoveWorkspace() function was changed in commit 8727661c1,
adapt its use in workspacesView as well.

https://bugzilla.gnome.org/show_bug.cgi?id=659288

13 years agoOverview: don't use the overlay_group
Giovanni Campagna [Tue, 21 May 2013 20:15:01 +0000 (22:15 +0200)]
Overview: don't use the overlay_group

It's a deprecated concept, and we want to have our own actor
that we can add to the chrome to handle the input region.

https://bugzilla.gnome.org/show_bug.cgi?id=700735

13 years agoFix bad rebase
Giovanni Campagna [Tue, 21 May 2013 20:17:36 +0000 (22:17 +0200)]
Fix bad rebase

A variable rename was missed.

13 years agouserWidget: Fix leaking instances
Rui Matos [Tue, 21 May 2013 19:33:04 +0000 (21:33 +0200)]
userWidget: Fix leaking instances

UserWidget instances should be destroyed when the actor is. That's
what consumer code expects since the destroy() method is never called.

https://bugzilla.gnome.org/show_bug.cgi?id=700807

13 years agokeyboard: don't raise to the top when showing
Giovanni Campagna [Mon, 20 May 2013 19:45:30 +0000 (21:45 +0200)]
keyboard: don't raise to the top when showing

The stacking is already correct due to the grouping, and calling
raise_top() results in the keyboard above the OSDs.

https://bugzilla.gnome.org/show_bug.cgi?id=700620

13 years agomessageTray: Hide notifications when the tray is summoned
Jasper St. Pierre [Mon, 20 May 2013 18:05:59 +0000 (14:05 -0400)]
messageTray: Hide notifications when the tray is summoned

If the user summons the tray, it should take priority over a
notification showing.

https://bugzilla.gnome.org/show_bug.cgi?id=700639

13 years agomessageTray: Add a synonym for hasNotifications
Jasper St. Pierre [Mon, 20 May 2013 17:54:48 +0000 (13:54 -0400)]
messageTray: Add a synonym for hasNotifications

This prevents lines from getting too long.

https://bugzilla.gnome.org/show_bug.cgi?id=700639

13 years agomessageTray: Don't hide the tray for urgent notifications
Jasper St. Pierre [Mon, 20 May 2013 17:31:43 +0000 (13:31 -0400)]
messageTray: Don't hide the tray for urgent notifications

The tray should never close on its own, without the user's input.

https://bugzilla.gnome.org/show_bug.cgi?id=700639

13 years agomessageTray: Clean up variable names
Jasper St. Pierre [Wed, 2 Jan 2013 12:56:07 +0000 (07:56 -0500)]
messageTray: Clean up variable names

Variable names like "sourceNotificationStackDoneShowing" are too
long, and too undescriptive: this one points to a source, not a
notification stack that has been done showing.

13 years agomain: Override the workspace layout in WindowManager
Jasper St. Pierre [Sun, 23 Dec 2012 03:10:48 +0000 (22:10 -0500)]
main: Override the workspace layout in WindowManager

https://bugzilla.gnome.org/show_bug.cgi?id=691746

13 years agomain: Move workspace tracking code to WindowManager
Jasper St. Pierre [Sun, 23 Dec 2012 03:10:27 +0000 (22:10 -0500)]
main: Move workspace tracking code to WindowManager

https://bugzilla.gnome.org/show_bug.cgi?id=691746

13 years agoappDisplay: Also account for folder popup's close buttons
Florian Müllner [Thu, 16 May 2013 17:35:12 +0000 (19:35 +0200)]
appDisplay: Also account for folder popup's close buttons

As the close button of folder popups overlaps at the top, it ends
up being cut off if the folder is located at the very top of the
view. Fix this glitch by taking the button's overlap into account
in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=694371

13 years agoappDisplay: Fix cut-off folders in All view
Florian Müllner [Thu, 16 May 2013 15:20:32 +0000 (17:20 +0200)]
appDisplay: Fix cut-off folders in All view

We already take care of growing the view if open folders overlap
at the bottom, however folder popups may still end up being cut
off when opening above the source icon - if the popup is high enough,
its y coordinate will be negative and therefore outside the parent's
allocation. To fix, we can either make sure that folders pop up below
their source icon in that case, or adjust the parent grid's position
as necessary while a folder is open. This implements the latter.

https://bugzilla.gnome.org/show_bug.cgi?id=694371

13 years agoappDisplay: Expand AllView
Florian Müllner [Thu, 21 Feb 2013 23:27:25 +0000 (00:27 +0100)]
appDisplay: Expand AllView

If the view doesn't fill the available space, content should still
start at the top rather than the center - not least the positioning
code for folder popups assumes that, so set the appropriate expand
flags.

https://bugzilla.gnome.org/show_bug.cgi?id=694371

13 years agotheme: polish the session chooser
Allan Day [Sun, 19 May 2013 19:25:03 +0000 (15:25 -0400)]
theme: polish the session chooser

The session chooser list has an embedded look which doesn't fit
well with the rest of the theme. Give it more of a flat appearance
and simplify the visuals.
https://bugzilla.gnome.org/show_bug.cgi?id=695742

13 years agoscreenshot: Check for NULL window in screenshot_window()
Florian Müllner [Sun, 19 May 2013 10:26:49 +0000 (12:26 +0200)]
screenshot: Check for NULL window in screenshot_window()

screenshot_window() currently assumes a focus window, which will
result in a crash if that's not the case.

https://bugzilla.gnome.org/show_bug.cgi?id=700625

13 years agooverviewControls: Move reactive flag to main actor
Florian Müllner [Sat, 18 May 2013 18:59:57 +0000 (20:59 +0200)]
overviewControls: Move reactive flag to main actor

The main overview actor was made reactive to catch scroll-events
and propagate them; after some code shuffling, the actor that
catches scroll events ended up not being the same actor that's
supposed to propagate this, which broke using the scroll wheel
to switch workspaces.

https://bugzilla.gnome.org/show_bug.cgi?id=700595

13 years agoWindowManager: Show switcher popup for switch-to-workspace-n keybindings
Elad Alfassa [Fri, 17 May 2013 14:54:23 +0000 (17:54 +0300)]
WindowManager: Show switcher popup for switch-to-workspace-n keybindings

Currently we show the workspace popup for relative targets ("up", "down"),
but not when targetting a specific workspace directly.
There is not really a good reason for that difference, and as we are about
to introduce a new shortcut to target the last workspace (which does vary
with dynamic workspaces), it makes sense to unify the behavior and always
show the switcher.

https://bugzilla.gnome.org/show_bug.cgi?id=659288

13 years agoReplace 'enable-app-monitoring' setting
Florian Müllner [Fri, 1 Mar 2013 23:56:18 +0000 (00:56 +0100)]
Replace 'enable-app-monitoring' setting

The org.gnome.desktop.privacy schema gained a 'remember-app-usage'
key, use that instead of our own preference.

https://bugzilla.gnome.org/show_bug.cgi?id=699714